package com.ruoyi.shebei.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 维修记录对象 weixiu
 * 
 * @author admin
 * @date 2024-07-26
 */
public class Weixiu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 维修表id */
    private Long weixiuId;

    /** 设备表id,外键 */
    @Excel(name = "设备表id,外键")
    private Long shebeiId;

    /** 维修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "维修时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wxTime;

    /** 维修人 */
    @Excel(name = "维修人")
    private String wxPerson;

    /** 故障描述 */
    @Excel(name = "故障描述")
    private String gzDescription;

    /** 诊断结果 */
    @Excel(name = "诊断结果")
    private String zdResult;

    /** 维修措施 */
    @Excel(name = "维修措施")
    private String wxMeasure;

    /** 更换部件 */
    @Excel(name = "更换部件")
    private String ghUnit;

    /** 维修结果 */
    @Excel(name = "维修结果")
    private String wxResult;

    /** 设备负责人 */
    @Excel(name = "设备负责人")
    private String principal;


    /** 设备名称 */
    @Excel(name = "设备名称")
    private String sbName;

    public void setWeixiuId(Long weixiuId) 
    {
        this.weixiuId = weixiuId;
    }

    public Long getWeixiuId() 
    {
        return weixiuId;
    }
    public void setShebeiId(Long shebeiId) 
    {
        this.shebeiId = shebeiId;
    }

    public Long getShebeiId() 
    {
        return shebeiId;
    }
    public void setWxTime(Date wxTime) 
    {
        this.wxTime = wxTime;
    }

    public Date getWxTime() 
    {
        return wxTime;
    }
    public void setWxPerson(String wxPerson) 
    {
        this.wxPerson = wxPerson;
    }

    public String getWxPerson() 
    {
        return wxPerson;
    }
    public void setGzDescription(String gzDescription) 
    {
        this.gzDescription = gzDescription;
    }

    public String getGzDescription() 
    {
        return gzDescription;
    }
    public void setZdResult(String zdResult) 
    {
        this.zdResult = zdResult;
    }

    public String getZdResult() 
    {
        return zdResult;
    }
    public void setWxMeasure(String wxMeasure) 
    {
        this.wxMeasure = wxMeasure;
    }

    public String getWxMeasure() 
    {
        return wxMeasure;
    }
    public void setGhUnit(String ghUnit) 
    {
        this.ghUnit = ghUnit;
    }

    public String getGhUnit() 
    {
        return ghUnit;
    }
    public void setWxResult(String wxResult) 
    {
        this.wxResult = wxResult;
    }

    public String getWxResult() 
    {
        return wxResult;
    }
    public void setPrincipal(String principal)
    {
        this.principal = principal;
    }

    public String getPrincipal()
    {
        return principal;
    }

    public String getSbName() {
        return sbName;
    }

    public void setSbName(String sbName) {
        this.sbName = sbName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("weixiuId", getWeixiuId())
            .append("shebeiId", getShebeiId())
            .append("wxTime", getWxTime())
            .append("wxPerson", getWxPerson())
            .append("gzDescription", getGzDescription())
            .append("zdResult", getZdResult())
            .append("wxMeasure", getWxMeasure())
            .append("ghUnit", getGhUnit())
            .append("wxResult", getWxResult())
            .append("principal", getPrincipal())
            .append("sbName",getSbName())
            .toString();
    }
}
